<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>海创数字</title>
<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
<link href="__PUBLIC__/css/style.css" rel="stylesheet">
</head>
<body class="skin-1">
	<div id="wrapper">
		<include file="default:left" />
		<div id="page-wrapper" class="gray-bg">
			<include file="default:header" />
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-10">
					<h2>账号列表</h2>
					<ol class="breadcrumb">
						<li><a href="?c=index&a=index">管理平台</a></li>
						<li><a href="?c=accountmanage&a=index">账号管理</a></li>
						<li class="active"><strong>账号列表</strong></li>
					</ol>
				</div>
				<div class="col-lg-2"></div>
			</div>
			<div class="wrapper wrapper-content">
				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-content">
								<div class="col-sm-12">
									<div class="row">
										<div class="col-sm-4 col-sm-offset-4">
											<div class="input-group">
												<input type="text" class="input-md form-control"
													placeholder="用户名" id="user_name" value="{$user_name}"/> <span
													class="input-group-btn">
													<button class="btn btn-primary btn-md selbtn" type="button">
														<i class="fa fa-search"></i> 查询
													</button>
												</span>
											</div>
										</div>
									</div>
								</div>
								<div class="dataTables_wrapper form-inline dt-bootstrap"
									id="editable_wrapper">
									<div class="row">
										<div class="col-sm-6">
											<div class="btn-group">
												<button class="btn btn-sm btn-default check_all"
													type="button">
													<i class="fa fa-check-square-o"></i>全选
												</button>
												<button class="btn btn-sm btn-default del_all oprate_del" type="button">
													<i class="fa fa-trash-o"></i>删除
												</button>
											</div>
											<a href="?c=accountmanage&a=add"
												class="btn btn-primary btn-sm oprate_add">添加用户</a>
										</div>
									</div>
									<div class="row">
										<div class="col-sm-12">
											<table
												class="table table-striped table-hover dataTables-example account_tab">
												<thead>
													<tr style="padding: 8px;">
														<th width="5%"></th>
														<th width="20%">头像</th>
														<th width="15%">账号</th>
														<th width="15%">用户名</th>
														<th width="15%">用户类型</th>
														<th width="10%">状态</th>
														<th width="15%">操作</th>
													</tr>
												</thead>
												<tbody>
													<empty name="userArray">
													<tr>
														<td colspan="7" style="text-align: center;">无用户信息</td>
													</tr>
													<else /> <volist name="userArray" id="ua">
													<tr>
														<td id="i_id" style="display: none;">{$ua.id}</td>
														<td>
															<div class="checkbox checkbox-primary check_item">
																<input id="checkbox1" value="{$ua.id}" type="checkbox">
																<label for="checkbox1"></label>
															</div>
														</td>
														<td><img
															style="border: 1px solid #dfdfdf; border-radius: 50%; height: 50px; width: 50px;"
															src="{$ua.avatar}"></td>
														<td>{$ua.user_name}</td>
														<td>{$ua.real_name}</td>
														<td>{$ua.group_name}</td>
														<td><a href="javascript:void(0)" class="oprate_status oprate_mod"
															config_id="{$ua.id}" status="{$ua.status}"> <img
																src="{$ua.status_img}" alt="{$ua.status_name}"
																title="{$ua.status_name}" />
														</a></td>
														<td>
															<div class="btn-group">
																<a class="btn btn-xs btn-warning oprate_mod" href="?c=accountmanage&a=modify&id={$ua.id}"> <i
																	class="fa fa-pencil-square-o"></i>修改
																</a> <a class="btn btn-xs btn-danger oprate_delete oprate_del" href="javascript:void(0)"> <i
																	class="fa fa-trash-o"></i>删除
																</a>
															</div>
														</td>
													</tr>
													</volist> </empty>
												</tbody>
											</table>
										</div>
									</div>
									<div class="row">
										<div
											style="text-align: center; margin-top: 20px; list-style: none">{$page}</div>
									</div>
								</div>

							</div>
						</div>
					</div>
				</div>
				<include file="default:footer" />
			</div>
		</div>
		
		<!-- Mainly scripts -->
		<script src="__PUBLIC__/js/jquery-2.1.1.js"></script>
		<script src="__PUBLIC__/js/bootstrap.min.js"></script>
		<script src="__PUBLIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
		<script src="__PUBLIC__/js/v_post.js"></script>
		<script
			src="__PUBLIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<script src="__PUBLIC__/js/accountmanage/index.js"></script>
		<script src="__PUBLIC__/js/plugins/jeditable/jquery.jeditable.js"></script>
		<script src="__PUBLIC__/js/menu.js"></script>
		
		<script src="__PUBLIC__/js/inspinia.js"></script>
		<script src="__PUBLIC__/js/plugins/pace/pace.min.js"></script>
		<!-- jQuery UI -->		
			</body>
			</html>
		